
import {
    CHANGE_LOADING,
    MENU_LIST_DATA,
    CHANGE_USERMSG
} from './mutation-types.js';
export default {
    [CHANGE_LOADING](state, info) {
        state.isLoading = info;
    },
    [MENU_LIST_DATA](state, info){
        state.menuListData = info;
    },
    [CHANGE_USERMSG](state, info){
        state.userMsg = info;
    }
}